package com.example.pojo.http.resp;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class WeChatAccessTokenResp {
    //接口调用凭证
    private String access_token;
    //access_token接口调用凭证超时时间，单位（秒）
    private Integer expires_in;
    //用户刷新access_token
    private String refresh_token;
    //授权用户唯一标识
    private String openid;
    //用户授权的作用域，使用逗号（,）分隔
    private String scope;
    //唯一id
    private String unionid;


    //错误返回
    private Integer errcode;
    //错误信息
    private String errmsg;
}
